<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<s:form theme="simple" method="post" name="form" id="form"
	action="addAuctionBid.htm">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div class="blue-text16" style="margin: 0px 0px 0px 0px">
					Review Bid
				</div>
				<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
				<div style="margin: 0px 0px 12px 0px">
					<table border="0" cellpadding="0" cellspacing="0" width="700">
						<tbody>
							<tr>
								<td>
									<s:actionerror cssClass="error-text"/>
									<s:fielderror cssClass="error-text"/>
									<s:actionmessage cssClass="error-text"/>
								</td>
							</tr>
							<tr>
								<td width="100%" class="search-text">
									<!--Bidding_Error-->
									Check that your bid is correct and click the
									 'Confirm This Bid' button to process your bid.
									<br>
									<br>

								</td>
							</tr>
							<tr>
								<td align="center" width="100%" class="common-text">
									<s:property value="items.title" />
								</td>
							</tr>
							<tr>
								<td align="center" width="100%" class="search-text">
									Item Nr. <s:property value="items.itemId" /> <s:hidden
											name="cid" value="%{item.itemId}" />
								</td>
							</tr>
							<tr>
								<td width="100%">
									<table border="0" cellpadding="4" cellspacing="0" width="100%">
										<tbody>
											<tr>
												<td align="right" width="40%" class="search-text">
													Quantity of items desired:
												</td>
												<td width="60%" class="common-text">
													<s:property value="auctionBids.bidQty" /> <s:hidden
															name="auctionBids.bidQty" value="%{auctionBids.bidQty}" />

												</td>
											</tr>

											<tr>
												<td align="right" width="40%" class="search-text">
													 Your current bid per item:
												</td>
												<td width="60%" class="common-text">
													<s:property value="auctionBids.maxBid" /> <s:property
															value="items.currency.currency" /> <s:hidden
															name="auctionBids.maxBid" value="%{auctionBids.maxBid}" />

												</td>
											</tr>
											<tr>
												<td align="right" width="40%" class="search-text">
													 Your maximum bid per item:
												</td>
												<td width="60%" class="common-text">
													<s:property value="auctionBids.maxBid" /> <s:property
															value="items.currency.currency" />
												</td>
											</tr>
											<tr>
												<td align="right" width="40%" class="search-text">
													Total value of your bid:
												</td>
												<td width="60%" class="common-text">
													 <s:set name="total"
															value="%{auctionBids.maxBid * auctionBids.bidQty}"></s:set>
														<s:property value="#total" /> <s:property
															value="items.currency.currency" /> &nbsp; (Quantity
													desired x bid per item)
												</td>
											</tr>

											<tr>
												<td align="right" width="40%" class="search-text">
													User ID:
												</td>
												<td width="60%" class="common-text">
													 <s:property value="user.userId" />
												</td>
											</tr>
											<tr>
												<td colspan="2" align="center"
													width="100%">
													<table>
														<tr>
															<td>
																<table border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td class="btn-grey-left1"></td>
																		<td class="btn-grey-middle1 ">
																			<s:submit value="Confirm This Bid" theme="simple"
																				cssClass="submit-btn-common" />
																		</td>
																		<td class="btn-grey-right1"></td>
																	</tr>
																</table>
																<table border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td>
																			<img src="images/middle/btn-grey-left1.gif" alt=" "
																				width="6" height="23" />
																		</td>
																		<td class="btn-grey-middle1 ">
																			<input value="Cancel" onclick="history.go(-1)"
																				type="button" class="submit-btn-common" />
																		</td>
																		<td>
																			<img src="images/middle/btn-grey-right1.gif" alt=" "
																				width="6" height="23" />
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</tbody>
									</table>
								</td>
							</tr>
							<tr>
								<td align="left" width="100%" class="common-text">
									<br>
									<u class="search-text">Helpful tips before you place a bid...</u>
									<br>
									Not yet registered? You must register to be able to place a
									bid,
									<a
										href="http://59.163.189.4/printeverywhere/registrationForm.htm">click
										here to register</a>. It only takes a few minutes, and when you're
									finished you can complete your bid.
									<br>
									<br>
									To correct a mistake Use your Back button to go back and make
									any corrections before you place your bid.
									<br>
									Bidding is fun but... It also means you are entering into a
									legally binding contract.
									<br>
								</td>
							</tr>

						</tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</s:form>
